package cn.ctbu.simple_score_manage.service.impl;

import cn.ctbu.simple_score_manage.dao.ICourseDao;
import cn.ctbu.simple_score_manage.domain.Course;
import cn.ctbu.simple_score_manage.service.ICourseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CourseServiceImpl extends ServiceImpl<ICourseDao, Course> implements ICourseService {
    @Autowired
    ICourseDao courseDao;

    @Override
    public List<Map<String, String>> selectNotChoseCourseByStudentNo(String studentNo) {
        return courseDao.selectNotChoseCourseByStudentNo(studentNo);
    }
}
